package com.cx.mapper;

import com.cx.entity.PersonNumber;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @program: pms
 * @author: cx
 * @description:
 * @create: 2024-10-31 15:39
 **/
@Mapper
public interface PersonNumberMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(PersonNumber record);

    int insertOrUpdate(PersonNumber record);

    int insertOrUpdateSelective(PersonNumber record);

    int insertSelective(PersonNumber record);

    PersonNumber selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(PersonNumber record);

    int updateByPrimaryKey(PersonNumber record);

    int updateBatch(List<PersonNumber> list);

    int batchInsert(@Param("list") List<PersonNumber> list);
}